Optimal. Leaf size=257 \[ \frac {b^{3/4} (b B-A c) \log \left (-\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}+\sqrt {b}+\sqrt {c} x\right )}{2 \sqrt {2} c^{11/4}}-\frac {b^{3/4} (b B-A c) \log \left (\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}+\sqrt {b}+\sqrt {c} x\right )}{2 \sqrt {2} c^{11/4}}-\frac {b^{3/4} (b B-A c) \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}\right )}{\sqrt {2} c^{11/4}}+\frac {b^{3/4} (b B-A c) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}+1\right )}{\sqrt {2} c^{11/4}}-\frac {2 x^{3/2} (b B-A c)}{3 c^2}+\frac {2 B x^{7/2}}{7 c} \]
________________________________________________________________________________________
Rubi [A] time = 0.22, antiderivative size = 257, normalized size of antiderivative = 1.00, number of steps used = 13, number of rules used = 10, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.385, Rules used = {1584, 459, 321, 329, 297, 1162, 617, 204, 1165, 628} \begin {gather*} \frac {b^{3/4} (b B-A c) \log \left (-\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}+\sqrt {b}+\sqrt {c} x\right )}{2 \sqrt {2} c^{11/4}}-\frac {b^{3/4} (b B-A c) \log \left (\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}+\sqrt {b}+\sqrt {c} x\right )}{2 \sqrt {2} c^{11/4}}-\frac {b^{3/4} (b B-A c) \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}\right )}{\sqrt {2} c^{11/4}}+\frac {b^{3/4} (b B-A c) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}+1\right )}{\sqrt {2} c^{11/4}}-\frac {2 x^{3/2} (b B-A c)}{3 c^2}+\frac {2 B x^{7/2}}{7 c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 204
Rule 297
Rule 321
Rule 329
Rule 459
Rule 617
Rule 628
Rule 1162
Rule 1165
Rule 1584
Rubi steps
\begin {align*} \int \frac {x^{9/2} \left (A+B x^2\right )}{b x^2+c x^4} \, dx &=\int \frac {x^{5/2} \left (A+B x^2\right )}{b+c x^2} \, dx\\ &=\frac {2 B x^{7/2}}{7 c}-\frac {\left (2 \left (\frac {7 b B}{2}-\frac {7 A c}{2}\right )\right ) \int \frac {x^{5/2}}{b+c x^2} \, dx}{7 c}\\ &=-\frac {2 (b B-A c) x^{3/2}}{3 c^2}+\frac {2 B x^{7/2}}{7 c}+\frac {(b (b B-A c)) \int \frac {\sqrt {x}}{b+c x^2} \, dx}{c^2}\\ &=-\frac {2 (b B-A c) x^{3/2}}{3 c^2}+\frac {2 B x^{7/2}}{7 c}+\frac {(2 b (b B-A c)) \operatorname {Subst}\left (\int \frac {x^2}{b+c x^4} \, dx,x,\sqrt {x}\right )}{c^2}\\ &=-\frac {2 (b B-A c) x^{3/2}}{3 c^2}+\frac {2 B x^{7/2}}{7 c}-\frac {(b (b B-A c)) \operatorname {Subst}\left (\int \frac {\sqrt {b}-\sqrt {c} x^2}{b+c x^4} \, dx,x,\sqrt {x}\right )}{c^{5/2}}+\frac {(b (b B-A c)) \operatorname {Subst}\left (\int \frac {\sqrt {b}+\sqrt {c} x^2}{b+c x^4} \, dx,x,\sqrt {x}\right )}{c^{5/2}}\\ &=-\frac {2 (b B-A c) x^{3/2}}{3 c^2}+\frac {2 B x^{7/2}}{7 c}+\frac {(b (b B-A c)) \operatorname {Subst}\left (\int \frac {1}{\frac {\sqrt {b}}{\sqrt {c}}-\frac {\sqrt {2} \sqrt [4]{b} x}{\sqrt [4]{c}}+x^2} \, dx,x,\sqrt {x}\right )}{2 c^3}+\frac {(b (b B-A c)) \operatorname {Subst}\left (\int \frac {1}{\frac {\sqrt {b}}{\sqrt {c}}+\frac {\sqrt {2} \sqrt [4]{b} x}{\sqrt [4]{c}}+x^2} \, dx,x,\sqrt {x}\right )}{2 c^3}+\frac {\left (b^{3/4} (b B-A c)\right ) \operatorname {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt [4]{b}}{\sqrt [4]{c}}+2 x}{-\frac {\sqrt {b}}{\sqrt {c}}-\frac {\sqrt {2} \sqrt [4]{b} x}{\sqrt [4]{c}}-x^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {2} c^{11/4}}+\frac {\left (b^{3/4} (b B-A c)\right ) \operatorname {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt [4]{b}}{\sqrt [4]{c}}-2 x}{-\frac {\sqrt {b}}{\sqrt {c}}+\frac {\sqrt {2} \sqrt [4]{b} x}{\sqrt [4]{c}}-x^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {2} c^{11/4}}\\ &=-\frac {2 (b B-A c) x^{3/2}}{3 c^2}+\frac {2 B x^{7/2}}{7 c}+\frac {b^{3/4} (b B-A c) \log \left (\sqrt {b}-\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}+\sqrt {c} x\right )}{2 \sqrt {2} c^{11/4}}-\frac {b^{3/4} (b B-A c) \log \left (\sqrt {b}+\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}+\sqrt {c} x\right )}{2 \sqrt {2} c^{11/4}}+\frac {\left (b^{3/4} (b B-A c)\right ) \operatorname {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}\right )}{\sqrt {2} c^{11/4}}-\frac {\left (b^{3/4} (b B-A c)\right ) \operatorname {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}\right )}{\sqrt {2} c^{11/4}}\\ &=-\frac {2 (b B-A c) x^{3/2}}{3 c^2}+\frac {2 B x^{7/2}}{7 c}-\frac {b^{3/4} (b B-A c) \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}\right )}{\sqrt {2} c^{11/4}}+\frac {b^{3/4} (b B-A c) \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [4]{c} \sqrt {x}}{\sqrt [4]{b}}\right )}{\sqrt {2} c^{11/4}}+\frac {b^{3/4} (b B-A c) \log \left (\sqrt {b}-\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}+\sqrt {c} x\right )}{2 \sqrt {2} c^{11/4}}-\frac {b^{3/4} (b B-A c) \log \left (\sqrt {b}+\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}+\sqrt {c} x\right )}{2 \sqrt {2} c^{11/4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.15, size = 110, normalized size = 0.43 \begin {gather*} \frac {2 c^{3/4} x^{3/2} \left (7 A c-7 b B+3 B c x^2\right )-21 (-b)^{3/4} (b B-A c) \tan ^{-1}\left (\frac {\sqrt [4]{c} \sqrt {x}}{\sqrt [4]{-b}}\right )+21 (-b)^{3/4} (b B-A c) \tanh ^{-1}\left (\frac {\sqrt [4]{c} \sqrt {x}}{\sqrt [4]{-b}}\right )}{21 c^{11/4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.21, size = 160, normalized size = 0.62 \begin {gather*} -\frac {\left (b^{7/4} B-A b^{3/4} c\right ) \tan ^{-1}\left (\frac {\sqrt {b}-\sqrt {c} x}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}}\right )}{\sqrt {2} c^{11/4}}-\frac {\left (b^{7/4} B-A b^{3/4} c\right ) \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{b} \sqrt [4]{c} \sqrt {x}}{\sqrt {b}+\sqrt {c} x}\right )}{\sqrt {2} c^{11/4}}+\frac {2 x^{3/2} \left (7 A c-7 b B+3 B c x^2\right )}{21 c^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.45, size = 899, normalized size = 3.50 \begin {gather*} \frac {84 \, c^{2} \left (-\frac {B^{4} b^{7} - 4 \, A B^{3} b^{6} c + 6 \, A^{2} B^{2} b^{5} c^{2} - 4 \, A^{3} B b^{4} c^{3} + A^{4} b^{3} c^{4}}{c^{11}}\right )^{\frac {1}{4}} \arctan \left (\frac {\sqrt {{\left (B^{6} b^{10} - 6 \, A B^{5} b^{9} c + 15 \, A^{2} B^{4} b^{8} c^{2} - 20 \, A^{3} B^{3} b^{7} c^{3} + 15 \, A^{4} B^{2} b^{6} c^{4} - 6 \, A^{5} B b^{5} c^{5} + A^{6} b^{4} c^{6}\right )} x - {\left (B^{4} b^{7} c^{5} - 4 \, A B^{3} b^{6} c^{6} + 6 \, A^{2} B^{2} b^{5} c^{7} - 4 \, A^{3} B b^{4} c^{8} + A^{4} b^{3} c^{9}\right )} \sqrt {-\frac {B^{4} b^{7} - 4 \, A B^{3} b^{6} c + 6 \, A^{2} B^{2} b^{5} c^{2} - 4 \, A^{3} B b^{4} c^{3} + A^{4} b^{3} c^{4}}{c^{11}}}} c^{3} \left (-\frac {B^{4} b^{7} - 4 \, A B^{3} b^{6} c + 6 \, A^{2} B^{2} b^{5} c^{2} - 4 \, A^{3} B b^{4} c^{3} + A^{4} b^{3} c^{4}}{c^{11}}\right )^{\frac {1}{4}} + {\left (B^{3} b^{5} c^{3} - 3 \, A B^{2} b^{4} c^{4} + 3 \, A^{2} B b^{3} c^{5} - A^{3} b^{2} c^{6}\right )} \sqrt {x} \left (-\frac {B^{4} b^{7} - 4 \, A B^{3} b^{6} c + 6 \, A^{2} B^{2} b^{5} c^{2} - 4 \, A^{3} B b^{4} c^{3} + A^{4} b^{3} c^{4}}{c^{11}}\right )^{\frac {1}{4}}}{B^{4} b^{7} - 4 \, A B^{3} b^{6} c + 6 \, A^{2} B^{2} b^{5} c^{2} - 4 \, A^{3} B b^{4} c^{3} + A^{4} b^{3} c^{4}}\right ) - 21 \, c^{2} \left (-\frac {B^{4} b^{7} - 4 \, A B^{3} b^{6} c + 6 \, A^{2} B^{2} b^{5} c^{2} - 4 \, A^{3} B b^{4} c^{3} + A^{4} b^{3} c^{4}}{c^{11}}\right )^{\frac {1}{4}} \log \left (c^{8} \left (-\frac {B^{4} b^{7} - 4 \, A B^{3} b^{6} c + 6 \, A^{2} B^{2} b^{5} c^{2} - 4 \, A^{3} B b^{4} c^{3} + A^{4} b^{3} c^{4}}{c^{11}}\right )^{\frac {3}{4}} - {\left (B^{3} b^{5} - 3 \, A B^{2} b^{4} c + 3 \, A^{2} B b^{3} c^{2} - A^{3} b^{2} c^{3}\right )} \sqrt {x}\right ) + 21 \, c^{2} \left (-\frac {B^{4} b^{7} - 4 \, A B^{3} b^{6} c + 6 \, A^{2} B^{2} b^{5} c^{2} - 4 \, A^{3} B b^{4} c^{3} + A^{4} b^{3} c^{4}}{c^{11}}\right )^{\frac {1}{4}} \log \left (-c^{8} \left (-\frac {B^{4} b^{7} - 4 \, A B^{3} b^{6} c + 6 \, A^{2} B^{2} b^{5} c^{2} - 4 \, A^{3} B b^{4} c^{3} + A^{4} b^{3} c^{4}}{c^{11}}\right )^{\frac {3}{4}} - {\left (B^{3} b^{5} - 3 \, A B^{2} b^{4} c + 3 \, A^{2} B b^{3} c^{2} - A^{3} b^{2} c^{3}\right )} \sqrt {x}\right ) + 4 \, {\left (3 \, B c x^{3} - 7 \, {\left (B b - A c\right )} x\right )} \sqrt {x}}{42 \, c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 264, normalized size = 1.03 \begin {gather*} \frac {\sqrt {2} {\left (\left (b c^{3}\right )^{\frac {3}{4}} B b - \left (b c^{3}\right )^{\frac {3}{4}} A c\right )} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} \left (\frac {b}{c}\right )^{\frac {1}{4}} + 2 \, \sqrt {x}\right )}}{2 \, \left (\frac {b}{c}\right )^{\frac {1}{4}}}\right )}{2 \, c^{5}} + \frac {\sqrt {2} {\left (\left (b c^{3}\right )^{\frac {3}{4}} B b - \left (b c^{3}\right )^{\frac {3}{4}} A c\right )} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} \left (\frac {b}{c}\right )^{\frac {1}{4}} - 2 \, \sqrt {x}\right )}}{2 \, \left (\frac {b}{c}\right )^{\frac {1}{4}}}\right )}{2 \, c^{5}} - \frac {\sqrt {2} {\left (\left (b c^{3}\right )^{\frac {3}{4}} B b - \left (b c^{3}\right )^{\frac {3}{4}} A c\right )} \log \left (\sqrt {2} \sqrt {x} \left (\frac {b}{c}\right )^{\frac {1}{4}} + x + \sqrt {\frac {b}{c}}\right )}{4 \, c^{5}} + \frac {\sqrt {2} {\left (\left (b c^{3}\right )^{\frac {3}{4}} B b - \left (b c^{3}\right )^{\frac {3}{4}} A c\right )} \log \left (-\sqrt {2} \sqrt {x} \left (\frac {b}{c}\right )^{\frac {1}{4}} + x + \sqrt {\frac {b}{c}}\right )}{4 \, c^{5}} + \frac {2 \, {\left (3 \, B c^{6} x^{\frac {7}{2}} - 7 \, B b c^{5} x^{\frac {3}{2}} + 7 \, A c^{6} x^{\frac {3}{2}}\right )}}{21 \, c^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 308, normalized size = 1.20 \begin {gather*} \frac {2 B \,x^{\frac {7}{2}}}{7 c}+\frac {2 A \,x^{\frac {3}{2}}}{3 c}-\frac {2 B b \,x^{\frac {3}{2}}}{3 c^{2}}-\frac {\sqrt {2}\, A b \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {b}{c}\right )^{\frac {1}{4}}}-1\right )}{2 \left (\frac {b}{c}\right )^{\frac {1}{4}} c^{2}}-\frac {\sqrt {2}\, A b \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {b}{c}\right )^{\frac {1}{4}}}+1\right )}{2 \left (\frac {b}{c}\right )^{\frac {1}{4}} c^{2}}-\frac {\sqrt {2}\, A b \ln \left (\frac {x -\left (\frac {b}{c}\right )^{\frac {1}{4}} \sqrt {2}\, \sqrt {x}+\sqrt {\frac {b}{c}}}{x +\left (\frac {b}{c}\right )^{\frac {1}{4}} \sqrt {2}\, \sqrt {x}+\sqrt {\frac {b}{c}}}\right )}{4 \left (\frac {b}{c}\right )^{\frac {1}{4}} c^{2}}+\frac {\sqrt {2}\, B \,b^{2} \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {b}{c}\right )^{\frac {1}{4}}}-1\right )}{2 \left (\frac {b}{c}\right )^{\frac {1}{4}} c^{3}}+\frac {\sqrt {2}\, B \,b^{2} \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {b}{c}\right )^{\frac {1}{4}}}+1\right )}{2 \left (\frac {b}{c}\right )^{\frac {1}{4}} c^{3}}+\frac {\sqrt {2}\, B \,b^{2} \ln \left (\frac {x -\left (\frac {b}{c}\right )^{\frac {1}{4}} \sqrt {2}\, \sqrt {x}+\sqrt {\frac {b}{c}}}{x +\left (\frac {b}{c}\right )^{\frac {1}{4}} \sqrt {2}\, \sqrt {x}+\sqrt {\frac {b}{c}}}\right )}{4 \left (\frac {b}{c}\right )^{\frac {1}{4}} c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 3.13, size = 214, normalized size = 0.83 \begin {gather*} \frac {{\left (B b^{2} - A b c\right )} {\left (\frac {2 \, \sqrt {2} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} b^{\frac {1}{4}} c^{\frac {1}{4}} + 2 \, \sqrt {c} \sqrt {x}\right )}}{2 \, \sqrt {\sqrt {b} \sqrt {c}}}\right )}{\sqrt {\sqrt {b} \sqrt {c}} \sqrt {c}} + \frac {2 \, \sqrt {2} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} b^{\frac {1}{4}} c^{\frac {1}{4}} - 2 \, \sqrt {c} \sqrt {x}\right )}}{2 \, \sqrt {\sqrt {b} \sqrt {c}}}\right )}{\sqrt {\sqrt {b} \sqrt {c}} \sqrt {c}} - \frac {\sqrt {2} \log \left (\sqrt {2} b^{\frac {1}{4}} c^{\frac {1}{4}} \sqrt {x} + \sqrt {c} x + \sqrt {b}\right )}{b^{\frac {1}{4}} c^{\frac {3}{4}}} + \frac {\sqrt {2} \log \left (-\sqrt {2} b^{\frac {1}{4}} c^{\frac {1}{4}} \sqrt {x} + \sqrt {c} x + \sqrt {b}\right )}{b^{\frac {1}{4}} c^{\frac {3}{4}}}\right )}}{4 \, c^{2}} + \frac {2 \, {\left (3 \, B c x^{\frac {7}{2}} - 7 \, {\left (B b - A c\right )} x^{\frac {3}{2}}\right )}}{21 \, c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.24, size = 92, normalized size = 0.36 \begin {gather*} x^{3/2}\,\left (\frac {2\,A}{3\,c}-\frac {2\,B\,b}{3\,c^2}\right )+\frac {2\,B\,x^{7/2}}{7\,c}+\frac {{\left (-b\right )}^{3/4}\,\mathrm {atan}\left (\frac {c^{1/4}\,\sqrt {x}}{{\left (-b\right )}^{1/4}}\right )\,\left (A\,c-B\,b\right )}{c^{11/4}}+\frac {{\left (-b\right )}^{3/4}\,\mathrm {atan}\left (\frac {c^{1/4}\,\sqrt {x}\,1{}\mathrm {i}}{{\left (-b\right )}^{1/4}}\right )\,\left (A\,c-B\,b\right )\,1{}\mathrm {i}}{c^{11/4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________